package bb.lanxing.model.sport;

import bb.lanxing.calc.data.DisplayPoint;

public interface ISportItem {
    int DATA_TYPE_DISTANCE = 0;//里程
    int DATA_TYPE_SPEED = 1;//时速(km/h)
    int DATA_TYPE_AVG_SPEED = 2;//运动均速(km/h)
    int DATA_TYPE_MAX_SPEED = 3;//极速
    int DATA_TYPE_AVG_SPEED_TOTAL_TIME = 4;
    int DATA_TYPE_DURATION = 5;//运动时间
    int DATA_TYPE_TOTAL_DURATION = 6;
    int DATA_TYPE_PAUSE_DURATION = 7;
    int DATA_TYPE_PACE = 8;//配速(min/km)
    int DATA_TYPE_AVG_PACE = 9;//平均配速(min/km)
    int DATA_TYPE_MAX_PACE = 10;//最快配速(min/km)
    int DATA_TYPE_ALTITUDE = 11;//海拔(m)
    int DATA_TYPE_GRADIENT = 12;
    int DATA_TYPE_ELEVATION_GAIN = 13;//爬升(m)
    int DATA_TYPE_AVG_ELEVATION_GAIN = 14;
    int DATA_TYPE_AVG_ELEVATION_LOSS = 15;
    int DATA_TYPE_MAX_ELEVATION_GAIN = 16;
    int DATA_TYPE_MAX_ELEVATION_LOSS = 17;
    int DATA_TYPE_CADENCE = 18;
    int DATA_TYPE_AVG_CADENCE = 19;
    int DATA_TYPE_MAX_CADENCE = 20;
    int DATA_TYPE_HEART_RATE = 21;
    int DATA_TYPE_AVG_HEART_RATE = 22;
    int DATA_TYPE_MAX_HEART_RATE = 23;
    int DATA_TYPE_MAX_HEART_RATE_PERCENTAGE = 24;
    int DATA_TYPE_HEART_RATE_LTHT = 25;
    int DATA_TYPE_POWER = 26;
    int DATA_TYPE_AVG_POWER = 27;
    int DATA_TYPE_MAX_POWER = 28;
    int DATA_TYPE_POWER_3_SECONDS = 29;
    int DATA_TYPE_POWER_10_SECONDS = 30;
    int DATA_TYPE_POWER_30_SECONDS = 31;
    int DATA_TYPE_FTP_PERCENTAGE = 32;
    int DATA_TYPE_POWER_NP = 33;
    int DATA_TYPE_POWER_TSS = 34;
    int DATA_TYPE_TEMPERATURE = 35;
    int DATA_TYPE_MAX_TEMPERATURE = 36;
    int DATA_TYPE_MIN_TEMPERATURE = 37;
    int DATA_TYPE_CALORIE = 38;//热量(kcal)
    int DATA_TYPE_STEP = 39;//步数
    int DATA_TYPE_CURRENT_DIRECTION = 40;
    int DATA_TYPE_CURRENT_AZIMUTH = 41;
    int DATA_TYPE_MAX_ALTITUDE = 42;
    int DATA_TYPE_MIN_ALTITUDE = 43;
    int DATA_TYPE_ELEVATION_LOSS = 44;

    int getType();

    String getValue();

    boolean isSporting();

    void update(DisplayPoint displayPoint, boolean z);
}